package edu.xhu.model.behavior.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@ApiModel(value = "bili用户聊天详情表")
@Data
@Accessors(chain = true)
@TableName("bili_user_chat_detail")
public class BiliUserChatDetail {

    /**
     * 聊天详情表主键
     */
    @ApiModelProperty(name = "聊天详情表主键", notes = "")
    private Long detailId;
    /**
     * 消息发送者id
     */
    @ApiModelProperty(name = "消息发送者id", notes = "")
    private Long userId;
    /**
     * 消息接收者id
     */
    @ApiModelProperty(name = "消息接收者id", notes = "")
    private Long toId;
    /**
     * 消息内容
     */
    @ApiModelProperty(name = "消息内容", notes = "")
    private String content;
    /**
     * 发送者是否删除
     */
    @ApiModelProperty(name = "发送者是否删除", notes = "")
    private String userDel;
    /**
     * 接收者是否删除
     */
    @ApiModelProperty(name = "接收者是否删除", notes = "")
    private String toDel;
    /**
     * 发送时间
     */
    @ApiModelProperty(name = "发送时间", notes = "")
    private Date time;
    /**
     * 是否群聊
     */
    @ApiModelProperty(name = "是否群聊", notes = "")
    private String isGroup;
    /**
     * 是否离线
     */
    @ApiModelProperty(name = "是否离线", notes = "")
    private String isOffline;
    /**
     * 消息状态
     */
    @ApiModelProperty(name = "消息状态", notes = "")
    private String detailStatus;
}
